//
//  SHConfigModel.m
//  SHAddImageView
//
//  Created by HaoSun on 2018/2/3.
//  Copyright © 2018年 YHKIT. All rights reserved.
//

#import "SHConfigModel.h"

@implementation SHConfigModel


/**
 创建一个默认的样式

 @return 返回一个默认的样式
 */
+ (SHConfigModel *)creatNormalConfig  {
    
    SHConfigModel *config = [[SHConfigModel alloc] init];
//    if ([NGlobalModel shareInstance].isAuth) {
//        config.maxPhoto = 1;
//    }else{
//        config.maxPhoto = 8;
//    }
    ///设置照片最大数量
    config.maxPhoto = 8;
    config.addBtnHidden = NO;
//    if ([UserInfoSave shareInstance].isGeren) {
        //因为个人的就一行，是为了处理头像
//         config.placeholderName = @"";
//    }else{
         config.placeholderName = @"addphoto";
//    }
   
    config.deletePlaceholdName = @"xhao";
    config.shouldPhotoBrowser = YES;
    config.isDefualt = YES;
    return config;
}

@end
